package model

import (
	"time"
)

type AuConsult struct {
	Id            int       `xorm:"not null pk autoincr INT(11)"`
	OrderId       int       `xorm:"not null unique INT(11)"`
	CarId         int       `xorm:"not null INT(11)"`
	OwnerId       int       `xorm:"not null index INT(11)"`
	DealerId      int       `xorm:"not null index INT(11)"`
	EmpId         int       `xorm:"not null INT(11)"`
	ConsultRemark string    `xorm:"not null default '' VARCHAR(255)"`
	ConsultStatus int       `xorm:"not null default 1 TINYINT(1)"`
	NextTraceTime time.Time `xorm:"not null DATETIME"`
	Updatetime    time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
	Createtime    time.Time `xorm:"not null DATETIME"`
}
